package com.ciaj.module.sys.entity.po;

import com.ciaj.base.bean.SupperEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
* <p>
* 岗位-用户关联表 Gen Entity
* </p>
*
* @author ciaj.
* @since 2020-08-14
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="SysUserRoleRel对象", description="岗位-用户关联表")
public class SysUserRoleRel extends SupperEntity<String> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "岗位id")
    @TableField("role_id")
    private String roleId;

    @ApiModelProperty(value = "用户id")
    @TableField("user_id")
    private String userId;

    @ApiModelProperty(value = "是否主岗：0/1")
    @TableField("is_default")
    private Integer isDefault;


}
